package com.excel;


import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class TerminalInfo extends BaseRowModel {

    @TableId(value = "terminal_id", type = IdType.AUTO)
    @ExcelProperty(value = "id" ,index = 0)
    private Integer terminalId;

    /**
     * 终端ip地址
     */
    @ExcelProperty(value = "ip地址" ,index = 1)
    private String terminalIp;

    /**
     * 终端mac地址
     */
    @ExcelProperty(value = "mac地址" ,index = 2)
    private String terminalMac;

    /**
     * 终端密钥
     */
    @ExcelProperty(value = "密钥" ,index = 3)
    private String terminal_key;
    /**
     * 站点表外键
     */
    @ExcelProperty(value = "站点编号" ,index = 4)
    private Integer terminalStation;

    /**
     * 房间号
     */
    @ExcelProperty(value = "房间号" ,index = 5)
    private String terminalRoom;

    /**
     * 在线
     * 离线
     */
    @ExcelProperty(value = "是否在线" ,index = 6)
    private String terminalLine;

    /**
     * 所属分组
     */
    @ExcelProperty(value = "所属分组" ,index = 7)
    private Integer terminalGroup;


    /**
     * 版本号
     */
    @ExcelProperty(value = "版本" ,index = 8)
    private String terminalVersionCode;

    /**
     * 型号
     */
    @ExcelProperty(value = "型号" ,index = 9)
    private String terminalSystemModel;


}
